<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

return new class extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('project_presents', function (Blueprint $table) {
            $table->id();
            $table->unsignedBigInteger('project_id')->default(0)->comment('项目');
            $table->string('present',3000)->nullable()->comment('内容');
            $table->string('users',1500)->nullable()->comment('绑定的人员');
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('project_presents');
    }
};
